#pragma once

#include "utilities.h"


class CMainMenu
{
public:
	CMainMenu(IrrlichtDevice *device);
	~CMainMenu(void);

	void update();
	void cursorUp();
	void cursorDown();
	void drawPause();

	int  getSelectedItem();						// Returns index of the selected item

	enum {PLAY = 0, ABOUT, EXIT};

private:
	IVideoDriver*	driver;
	ISceneManager*	smgr;
	
	ITexture*		background;					// Menu background texture
	SMeshBuffer		planeMesh;
	
	IGUIFont*		font;

	array<stringw>	menuItem;					// String array for menu items
	u32				selectedItem;				
};

